//
//  DogParkClient.h
//  HundPark
//
//  Created by MacBooken Rolle on 5/8/13.
//  Copyright (c) 2013 ARV IT. All rights reserved.
//

#import "AFHTTPClient.h"
#import "AFJSONRequestOperation.h"

@protocol DogParklientDelegate;

@interface DogParkClient : AFHTTPClient

@property(weak) id<DogParklientDelegate> delegate;

#pragma mark -
#pragma mark Shared Instance
+ (DogParkClient *)sharedClient;
- (id)initWithBaseURL:(NSURL *)url;
- (void)updateStatusAtPark:(NSDictionary *) parkInfo;
- (void)checkStatusForPark:(NSDictionary *) parkInfo;
@end

@protocol DogParklientDelegate <NSObject>
-(void)dogParkClient:(DogParkClient *)client didUpdateStatus:(id)park;
-(void)dogParkClient:(DogParkClient *)client didCheckStatus:(id)park;
-(void)dogParkClient:(DogParkClient *)client didFailWithError:(NSError *)error;

@end

